<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /* *{
            margin: 0;
            padding: 0;

        } */
        a,li{
            list-style: none;
            width: 390px;
            height: 200px;
            overflow: hidden;
        }
        a img{
            width: 400px;
            height: 200px;
            transition: all 0.4s;
        }
        a:hover img{
            margin-left: -10px;
        }
    </style>
</head>
<body>
    <ul>
        <li><a href="#"><img src="../案例/学成在线/images/1.jpg" alt=""></a></li>
    </ul>
</body>
</html>